package pers.yurwisher.rubick.common.constant;

/**
 * @author yq
 * @date 2020/09/22 11:32
 * @description redis缓存名称常量
 * @since V1.0.0
 */
public interface CacheConstant {


    interface Strings {

        String AUTH = "auth";

        String REFRESH_AUTH = "refresh_auth";

        /**
         * 系统完整菜单及按钮树
         */
        String SYSTEM_WHOLE_TREE = "system_whole_tree";

        /**
         * 角色下拉框
         */
        String ROLE_SELECT = "system_role_select";

        /**
         * 登录验证码
         */
        String LOGIN_CODE = "login_code";
        /**
         * 在线用户
         */
        String ONLINE_USER = "online_user";

        /**
         * 变更邮箱
         */
        String CHANGE_MAIL_CODE = "change_mail_code";
        /**
         * 变更手机
         */
        String CHANGE_PHONE_CODE = "change_phone_code";
    }

    interface Hashs {
        /**用户权限*/
        String SYSTEM_USER_PERMISSION  = "SYSTEM_USER_PERMISSION";
        /**
         * 用户基础信息
         */
        String SYSTEM_USER_INFO = "system_user_info";
        /**
         * 配置
         */
        String SYSTEM_CONFIG = "system_config";
        /**
         * 字典
         */
        String SYSTEM_DICT = "system_dict";
        /**
         * 用户菜单树
         */
        String SYSTEM_USER_MENU_TREE = "system_user_menu_tree";
    }

    interface Lists {
        String ORDER_NO_LIST = "order_no_list";
    }

}
